package com.jzt.qf.beans.jztBean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class TokenBean implements Serializable {

    /**
     * code : 0
     * message : success
     * path :
     * data : {"access_token":"a29b8995-315a-4809-8bc7-b3c722559e05","token_type":"bearer","refresh_token":"f56a286b-d162-4c8b-8e59-11af673c254d","expires_in":43141,"website":"","apiKey":"CjKUUE80gOIhJZ2tZleIp5Zu","secretKey":"beRQz9JI8Xh82oEVAi7Im153MqK2A5c7","appName":"莱顿","updateTime":"1685067273736","isPersist":0,"appOs":"","appIcon":"","dbflag":"","createTime":"1685067273736","appType":"server","appDesc":"","appId":"1685067273736","appNameEn":"laidun","status":1}
     * extra : {}
     * timestamp : 1685068225196
     */

    private int code;
    private String message;
    private String path;
    private DataBean data;
    private String timestamp;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }


    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public static class DataBean {

        /**
         * access_token : a29b8995-315a-4809-8bc7-b3c722559e05
         * token_type : bearer
         * refresh_token : f56a286b-d162-4c8b-8e59-11af673c254d
         * expires_in : 33193
         * website :
         * apiKey : CjKUUE80gOIhJZ2tZleIp5Zu
         * secretKey : beRQz9JI8Xh82oEVAi7Im153MqK2A5c7
         * appName : 莱顿
         * updateTime : 1685067273736
         * isPersist : 0
         * appOs :
         * appIcon :
         * dbflag :
         * createTime : 1685067273736
         * appType : server
         * appDesc :
         * appId : 1685067273736
         * appNameEn : laidun
         * status : 1
         */

        private String access_token;
        private String token_type;
        private String refresh_token;
        private int expires_in;
        private String website;
        private String apiKey;
        private String secretKey;
        private String appName;
        private String updateTime;
        private int isPersist;
        private String appOs;
        private String appIcon;
        private String dbflag;
        private String createTime;
        private String appType;
        private String appDesc;
        private String appId;
        private String appNameEn;
        private int status;

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public String getToken_type() {
            return token_type;
        }

        public void setToken_type(String token_type) {
            this.token_type = token_type;
        }

        public String getRefresh_token() {
            return refresh_token;
        }

        public void setRefresh_token(String refresh_token) {
            this.refresh_token = refresh_token;
        }

        public int getExpires_in() {
            return expires_in;
        }

        public void setExpires_in(int expires_in) {
            this.expires_in = expires_in;
        }

        public String getWebsite() {
            return website;
        }

        public void setWebsite(String website) {
            this.website = website;
        }

        public String getApiKey() {
            return apiKey;
        }

        public void setApiKey(String apiKey) {
            this.apiKey = apiKey;
        }

        public String getSecretKey() {
            return secretKey;
        }

        public void setSecretKey(String secretKey) {
            this.secretKey = secretKey;
        }

        public String getAppName() {
            return appName;
        }

        public void setAppName(String appName) {
            this.appName = appName;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getIsPersist() {
            return isPersist;
        }

        public void setIsPersist(int isPersist) {
            this.isPersist = isPersist;
        }

        public String getAppOs() {
            return appOs;
        }

        public void setAppOs(String appOs) {
            this.appOs = appOs;
        }

        public String getAppIcon() {
            return appIcon;
        }

        public void setAppIcon(String appIcon) {
            this.appIcon = appIcon;
        }

        public String getDbflag() {
            return dbflag;
        }

        public void setDbflag(String dbflag) {
            this.dbflag = dbflag;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getAppType() {
            return appType;
        }

        public void setAppType(String appType) {
            this.appType = appType;
        }

        public String getAppDesc() {
            return appDesc;
        }

        public void setAppDesc(String appDesc) {
            this.appDesc = appDesc;
        }

        public String getAppId() {
            return appId;
        }

        public void setAppId(String appId) {
            this.appId = appId;
        }

        public String getAppNameEn() {
            return appNameEn;
        }

        public void setAppNameEn(String appNameEn) {
            this.appNameEn = appNameEn;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }

}
